std::sin
From Cppreference
| Defined in header
<cmath> | ||
| float sin( float arg );
| ||
| double sin( double arg );
| ||
| long double sin( long double arg );
| ||
Computes sine of arg
Parameters
| arg | - | floating point value representing angle in radians |
Return value
sine of arg in the range [-1.0 ; 1.0].
Domain error occurs if arg is infinite. NAN is returned in that case.
See also
| cosine (function) | |
| tangent (function) | |
| arc sine (function) | |